<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
        <title>Cart</title>
    </head>
    <body>
        <h1>Create new Position</h1>
        <form th:action="@{/ui/cart/position}" method="POST" th:object="${orderPosition}">
            <table>
                <tr>
                    <td>
                        <input type="number" th:field="*{orderId}"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="number" th:field="*{productId}"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="number" th:field="*{anzahl}"/>
                    </td>
                </tr>
                <tr>
                    <td>
                        <input type="submit" value="Create"/>
                    </td>
                </tr>
            </table>
        </form>
    </body>
</html>